package iedcyt.acute.dataAccess.dao.maescorp;



import iedcyt.acute.dataAccess.domain.maescorp.Maescorp;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.ResultSetExtractor;



public class MaescorpWoSResultSetExtractor implements ResultSetExtractor<Maescorp> {

	@Override
	public Maescorp extractData(ResultSet rs) throws SQLException {
		Maescorp mae = new Maescorp(rs.getString(1), rs.getString(2), rs.getString(3),rs.getString(4),
				rs.getString(5),rs.getString(6),rs.getDate(7));
		
		return mae;
	}

}
